﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeFile="F303_HoSoDetail.aspx.cs" Inherits="ChucNang_F303_HoSoDetail" %>

<%@ Register Assembly="eWorld.UI" Namespace="eWorld.UI" TagPrefix="ew" %>
<%@ Import Namespace="IP.Core.IPCommon" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="Server">
    <style>
        .cssTextBoxnumber
        {
            text-align: right;
        }
        </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server">
    <table cellspacing="0" cellpadding="2" style="width: 100%;" class="cssTable" border="0">
        <tr>
            <td class="cssPageTitleBG">
                <asp:Label ID="m_lbl_thong_tin_ho_so" runat="server" CssClass="cssPageTitle" 
                    Text="Thông tin giảng viên" />
            </td>
        </tr>
        <tr>
            <td>
                <table cellspacing="0" cellpadding="2" style="width: 100%;" class="cssTable" border="0">
                    <tr>
                        <td align="right" style="width: 7%;">
                            <asp:Label ID="Label1" CssClass="cssManField" runat="server" Text="Giảng viên: " />
                        </td>
                        <td align="left" style="width: 10%;">
                            &nbsp;
                            <asp:Label ID="m_lbl_giang_vien" runat="server" MaxLength="64" Width="96%" />
                        </td>
                        <td align="left" style="width: 1%;">
                            &nbsp;
                        </td>
                        <td align="right" style="width: 7%;">
                            <asp:Label ID="Label6" CssClass="cssManField" runat="server" 
                                Text="Mã giảng viên" />
                        </td>
                        <td align="left" style="width: 10%;">
                            &nbsp;
                            <asp:Label ID="m_lbl_ma_giang_vien" runat="server" />
                        </td>
                        <td align="left" style="width: 1%;">
                            &nbsp;
                        </td>
                        <td align="right" style="width: 5%;">
                            &nbsp;
                        </td>
                        <td align="left" style="width: 10%;">
                            &nbsp;
                        </td>
                        <td align="left" style="width: 1%;">
                            &nbsp;
                        </td>
                    </tr>
                    </table>
            </td>
        </tr>
        <tr>
            <td class="cssPageTitleBG">
                <asp:Label ID="lblUser" runat="server" CssClass="cssPageTitle" 
                    Text="Chi tiết các loại hồ sơ của giảng viên" />
            </td>
        </tr>
        <tr>
            <td>
                <asp:ValidationSummary ID="vdsCategory" runat="server" CssClass="cssManField" Font-Bold="true" />
                <asp:Label ID="m_lbl_mess" runat="server" CssClass="cssManField" />
            </td>
        </tr>
        <tr>
            <td>
                <table cellspacing="0" cellpadding="2" style="width: 100%;" class="cssTable" border="0">
                    <tr>
                        <td align="right" style="width: 7%;">
                            <asp:Label ID="lblLoaiHoSo" CssClass="cssManField" runat="server" Text="Loại hồ sơ : " />
                        </td>
                        <td align="left" style="width: 10%;">
                            <asp:Label runat="server" ID="m_lbl_loai_hs_1"></asp:Label>
                        </td>
                        <td align="right" style="width: 5%;">
                            &nbsp;
                        </td>
                        <td align="right" style="width: 7%;">
                            &nbsp;
                        </td>
                        <td align="left" style="width: 1%;">
                            &nbsp;
                        </td>
                        <td align="right" style="width: 5%;">
                            &nbsp;
                        </td>
                        <td align="left" style="width: 10%;">
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td align="right" style="width: 7%;">
                            <asp:Label ID="lblHoSoDinhKem11" runat="server" Text="Đính kèm 1: " />
                            <asp:HyperLink ID="m_link_dinh_kem11" runat="server" Visible="false"
                                Target="_blank">Link đính kèm 1</asp:HyperLink>
                        </td>
                        <td align="left" style="width: 10%;">
                            <asp:FileUpload ID="m_up_ho_so_loai_1_dk1" runat="server" />
                            <input type="hidden" runat="server" id="hdf_upload_11" />
                        </td>
                        <td align="right" style="width: 5%;">
                            <asp:Label ID="lblHoSoDinhKem12" runat="server" Text="Đính kèm 2: " />
                            <asp:HyperLink ID="m_link_dinh_kem12" runat="server" Visible="false"
                                Target="_blank">Link đính kèm 2</asp:HyperLink>
                        </td>
                        <td align="right" style="width: 7%;">
                            <asp:FileUpload ID="m_up_ho_so_loai_1_dk2" runat="server" />
                            <input type="hidden" runat="server" id="hdf_upload_12" />
                        </td>
                        <td align="left" style="width: 1%;">
                            &nbsp;
                        </td>
                        <td align="right" style="width: 5%;">
                            <asp:Label ID="lblHoSoDinhKem13" runat="server" Text="Đính kèm 3: " />
                            <asp:HyperLink ID="m_link_dinh_kem13" runat="server" Visible="false"
                                Target="_blank">Link đính kèm 3</asp:HyperLink>
                        </td>
                        <td align="left" style="width: 10%;">
                            &nbsp;
                            <asp:FileUpload ID="m_up_ho_so_loai_1_dk3" runat="server" />
                            <input type="hidden" runat="server" id="hdf_upload_13" />
                        </td>
                    </tr>

                    <tr>
                        <td align="right" style="width: 7%;">
                            <asp:Label ID="Label2" CssClass="cssManField" runat="server" Text="Loại hồ sơ : " />
                        </td>
                        <td align="left" style="width: 10%;">
                            <asp:Label runat="server" ID="m_lbl_loai_hs_2"></asp:Label>
                        </td>
                        <td align="right" style="width: 5%;">
                            &nbsp;
                        </td>
                        <td align="right" style="width: 7%;">
                            &nbsp;
                        </td>
                        <td align="left" style="width: 1%;">
                            &nbsp;
                        </td>
                        <td align="right" style="width: 5%;">
                            &nbsp;
                        </td>
                        <td align="left" style="width: 10%;">
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td align="right" style="width: 7%;">
                            <asp:Label ID="lblHoSoDinhKem21" runat="server" Text="Đính kèm 1: " />
                            <asp:HyperLink ID="m_link_dinh_kem21" runat="server" Visible="false"
                                Target="_blank">Link đính kèm 1</asp:HyperLink>
                        </td>
                        <td align="left" style="width: 10%;">
                            <asp:FileUpload ID="m_up_ho_so_loai_2_dk1" runat="server" />
                            <input type="hidden" runat="server" id="hdf_upload_21" />
                            </td>
                        <td align="right" style="width: 5%;">
                            <asp:Label ID="lblHoSoDinhKem22" runat="server" Text="Đính kèm 2: " />
                            <asp:HyperLink ID="m_link_dinh_kem22" runat="server" Visible="false"
                                Target="_blank">Link đính kèm 2</asp:HyperLink>
                        </td>
                        <td align="right" style="width: 7%;">
                            <asp:FileUpload ID="m_up_ho_so_loai_2_dk2" runat="server" />
                            <input type="hidden" runat="server" id="hdf_upload_22" />
                        </td>
                        <td align="left" style="width: 1%;">
                            &nbsp;
                        </td>
                        <td align="right" style="width: 5%;">
                            <asp:Label ID="lblHoSoDinhKem23" runat="server" Text="Đính kèm 3: " />
                            <asp:HyperLink ID="m_link_dinh_kem23" runat="server" Visible="false"
                                Target="_blank">Link đính kèm 3</asp:HyperLink>
                        </td>
                        <td align="left" style="width: 10%;">
                            &nbsp;
                            <asp:FileUpload ID="m_up_ho_so_loai_2_dk3" runat="server" />
                            <input type="hidden" runat="server" id="hdf_upload_23" />
                        </td>
                    </tr>

                    <tr>
                        <td align="right" style="width: 7%;">
                            <asp:Label ID="Label8" CssClass="cssManField" runat="server" Text="Loại hồ sơ : " />
                        </td>
                        <td align="left" style="width: 10%;">
                            <asp:Label runat="server" ID="m_lbl_loai_hs_3"></asp:Label>
                        </td>
                        <td align="right" style="width: 5%;">
                            &nbsp;
                        </td>
                        <td align="right" style="width: 7%;">
                            &nbsp;
                        </td>
                        <td align="left" style="width: 1%;">
                            &nbsp;
                        </td>
                        <td align="right" style="width: 5%;">
                            &nbsp;
                        </td>
                        <td align="left" style="width: 10%;">
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td align="right" style="width: 7%;">
                            <asp:Label ID="lblHoSoDinhKem31" runat="server" Text="Đính kèm 1: " />
                            <asp:HyperLink ID="m_link_dinh_kem31" runat="server" Visible="false"
                                Target="_blank">Link đính kèm 1</asp:HyperLink>
                        </td>
                        <td align="left" style="width: 10%;">
                            <asp:FileUpload ID="m_up_ho_so_loai_3_dk1" runat="server" />
                            <input type="hidden" runat="server" id="hdf_upload_31" />
                            </td>
                        <td align="right" style="width: 5%;">
                            <asp:Label ID="lblHoSoDinhKem32" runat="server" Text="Đính kèm 2: " />
                            <asp:HyperLink ID="m_link_dinh_kem32" runat="server" Visible="false"
                                Target="_blank">Link đính kèm 2</asp:HyperLink>
                        </td>
                        <td align="right" style="width: 7%;">
                            <asp:FileUpload ID="m_up_ho_so_loai_3_dk2" runat="server" />
                            <input type="hidden" runat="server" id="hdf_upload_32" />
                        </td>
                        <td align="left" style="width: 1%;">
                            &nbsp;
                        </td>
                        <td align="right" style="width: 5%;">
                            <asp:Label ID="lblHoSoDinhKem33" runat="server" Text="Đính kèm 3: " />
                              <asp:HyperLink ID="m_link_dinh_kem33" runat="server" Visible="false"
                                Target="_blank">Link đính kèm 3</asp:HyperLink>
                        </td>
                        <td align="left" style="width: 10%;">
                            &nbsp;
                            <asp:FileUpload ID="m_up_ho_so_loai_3_dk3" runat="server" />
                            <input type="hidden" runat="server" id="hdf_upload_33" />
                        </td>
                    </tr>
                    <tr style="height="20px"">
                        <td align="right" style="width: 7%;">
                            &nbsp;</td>
                        <td align="left" style="width: 10%;">
                            &nbsp;</td>
                        <td align="right" style="width: 5%;">
                            &nbsp;</td>
                        <td align="left" style="width: 7%;">
                            &nbsp;</td>
                        <td align="left" style="width: 1%;">
                            &nbsp;</td>
                        <td align="right" style="width: 5%;">
                            &nbsp;</td>
                        <td align="left" style="width: 10%;">
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td align="right" style="width: 7%;">
                            <input type="hidden" runat="server" id="hdf_id_giang_vien" />
                            <input type="hidden" runat="server" id="hdf_ten_gv_giang_vien" />
                            <input type="hidden" runat="server" id="hdf_ten_folder_gv" />
                        </td>
                        <td align="left" style="width: 10%;">
                            <asp:Button ID="m_cmd_cap_nhat_pl" runat="server" AccessKey="s" CssClass="cssButton"
                                Height="24px" Text="Cập nhật" Width="98px" 
                                onclick="m_cmd_cap_nhat_pl_Click" />
                        </td>
                        <td align="right" style="width: 5%;">
                            &nbsp;</td>
                        <td align="left" style="width: 7%;">
                <asp:Button ID="m_cmd_exit" runat="server" AccessKey="s" CssClass="cssButton" Height="24px"
                    Text="Thoát" Width="98px" CausesValidation="false" 
                    onclick="m_cmd_exit_Click" />
                        </td>
                        <td align="left" style="width: 1%;">
                            &nbsp;
                        </td>
                        <td align="right" style="width: 5%;">
                            &nbsp;
                        </td>
                        <td align="left" style="width: 10%;">
                            &nbsp;
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td class="cssPageTitleBG" colspan="2">
                <asp:Label ID="Label11" runat="server" CssClass="cssPageTitle" 
                    Text="Trạng thái các loại hồ sơ với đơn vị quản lý" />
            </td>
        </tr>
        <tr>
            <td align="left">
                <asp:Label ID="m_lbl_thong_bao" CssClass="cssManField" runat="server"></asp:Label>
            </td>
            <td>
                &nbsp;
            </td>
        </tr>
        <tr>
            <td align="center" colspan="2">
                <div style='float:left; width:80%'>
                    <asp:GridView ID="m_grv_dm_ho_so" runat="server" AllowPaging="True" 
                    AllowSorting="True" AutoGenerateColumns="False" CellPadding="4" 
                    DataKeyNames="ID" ForeColor="#333333" Width="80%" 
                    onrowdatabound="m_grv_dm_ho_so_RowDataBound">
                    <AlternatingRowStyle BackColor="White" />
                    <Columns>
                        <asp:TemplateField HeaderText="STT" ItemStyle-HorizontalAlign="Center">
                            <ItemTemplate>
                                <%# Container.DataItemIndex + 1 %>
                            </ItemTemplate>
                            <ItemStyle Width="5%" />
                        </asp:TemplateField>
                          <asp:BoundField HeaderText="Đơn vị quản lý" ItemStyle-Width="35%"  
                          DataField="DV_QUAN_LY" ItemStyle-HorizontalAlign="Center"/>
                         <asp:TemplateField Visible="False">
                            <ItemTemplate>
                                <asp:Label ID="DonViQuanLy" runat="server" 
                                    Text='<%# Eval("ID_DV_QUAN_LY") %>' />
                            </ItemTemplate>
                        </asp:TemplateField>
                         <asp:TemplateField Visible="False">
                            <ItemTemplate>
                                <asp:Label ID="VanBangCongChungYN" runat="server" 
                                    Text='<%# Eval("VAN_BANG_CC_YN") %>' />
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Văn bằng công chứng" ItemStyle-HorizontalAlign="Center">
                            <ItemTemplate>
                                <asp:CheckBox runat="server" ID="chk_van_bang_cong_chung" ToolTip='<%# Eval("Id") %>' />
                            </ItemTemplate>
                            <ItemStyle Width="20%" />
                        </asp:TemplateField>
                          <asp:TemplateField Visible="False">
                            <ItemTemplate>
                                <asp:Label ID="CCSPYN" runat="server" 
                                    Text='<%# Eval("CCSP_YN") %>' />
                            </ItemTemplate>
                        </asp:TemplateField>
                         <asp:TemplateField HeaderText="CCSP" ItemStyle-HorizontalAlign="Center">
                            <ItemTemplate>
                                <asp:CheckBox runat="server" ID="chk_ccsp" ToolTip='<%# Eval("Id") %>' />
                            </ItemTemplate>
                        <ItemStyle Width="20%" />
                        </asp:TemplateField>
                           <asp:TemplateField Visible="False">
                            <ItemTemplate>
                                <asp:Label ID="LyLichKhoaHocYN" runat="server" 
                                    Text='<%# Eval("LY_LICH_KH_YN") %>' />
                            </ItemTemplate>
                        </asp:TemplateField>
                         <asp:TemplateField HeaderText="Lý lịch KH" ItemStyle-HorizontalAlign="Center">
                            <ItemTemplate>
                                <asp:CheckBox runat="server" ID="chk_ly_lich_khoa_hoc" ToolTip='<%# Eval("Id") %>' />
                            </ItemTemplate>
                            <ItemStyle Width="20%" />
                        </asp:TemplateField>
                    </Columns>
                    <EditRowStyle BackColor="#7C6F57" />
                    <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
                    <HeaderStyle BackColor="#810c15" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="#666666" ForeColor="White" HorizontalAlign="Center" />
                    <RowStyle BackColor="#E3EAEB" />
                    <SelectedRowStyle BackColor="#C5BBAF" CssClass="cssSelectedRow" 
                        Font-Bold="True" ForeColor="#333333" />
                </asp:GridView>
                </div>            
                <div style="float:left; text-align:left; width:20%;">
                     <asp:Button ID="m_cmd_cap_nhat_trang_thai" runat="server" AccessKey="s" 
                    CssClass="cssButton" Height="24px" onclick="m_cmd_cap_nhat_trang_thai_Click" 
                    Text="Cập nhật" Width="98px" />
                </div>
             </td>
        </tr>
    </table>
</asp:Content>
